From: Florian Müllner Date: Mon, 10 Aug 2020 23:34:03 +0000 (+0200) Subject: dbusServices/screencast: Quote filename in pipeline X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~684^2^2~44 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=9d6ccb6072ec2894bbbc147a2416ec05523d0bd3;p=gnome-shell.git dbusServices/screencast: Quote filename in pipeline Otherwise Gst fails to parse the pipeline string if the filename contains spaces, as all words following the first are interpreted as additional Gst elements. https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1403 --- diff --git a/js/dbusServices/screencast/screencastService.js b/js/dbusServices/screencast/screencastService.js index 99ad59f2e..f7683d482 100644 --- a/js/dbusServices/screencast/screencastService.js +++ b/js/dbusServices/screencast/screencastService.js @@ -224,7 +224,7 @@ var Recorder = class { video/x-raw,max-framerate=${framerate}/1 ! videoconvert ! ${this._pipelineString} ! - filesink location=${this._filePath}`; + filesink location="${this._filePath}"`; fullPipeline = this._substituteThreadCount(fullPipeline); this._pipeline = Gst.parse_launch_full(fullPipeline,